package com.ktgj.customer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 dd_coupon_used
 * 
 * @author ruoyi
 * @date 2022-09-28
 */
public class DdCouponUsed extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long couponUsedId;

    /** 会员手机号 */
    @Excel(name = "会员手机号")
    private String customerPhone;

    /** 生效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validTime;

    /** 失效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "失效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date invalidTime;

    /** 使用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "使用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date usedTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "使用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date usedTimeBegin;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "使用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date usedTimeEnd;

    /** 使用金额 */
    @Excel(name = "使用金额")
    private String usedAmount;

    /** 出发地 */
    @Excel(name = "出发地")
    private String departure;

    /** 到达地 */
    @Excel(name = "到达地")
    private String arrival;

    public Date getUsedTimeBegin()
    {
        return usedTimeBegin;
    }

    public void setUsedTimeBegin(Date usedTimeBegin)
    {
        this.usedTimeBegin = usedTimeBegin;
    }

    public Date getUsedTimeEnd()
    {
        return usedTimeEnd;
    }

    public void setUsedTimeEnd(Date usedTimeEnd)
    {
        this.usedTimeEnd = usedTimeEnd;
    }

    public void setCouponUsedId(Long couponUsedId)
    {
        this.couponUsedId = couponUsedId;
    }

    public Long getCouponUsedId() 
    {
        return couponUsedId;
    }
    public void setCustomerPhone(String customerPhone) 
    {
        this.customerPhone = customerPhone;
    }

    public String getCustomerPhone() 
    {
        return customerPhone;
    }
    public void setValidTime(Date validTime) 
    {
        this.validTime = validTime;
    }

    public Date getValidTime() 
    {
        return validTime;
    }
    public void setInvalidTime(Date invalidTime) 
    {
        this.invalidTime = invalidTime;
    }

    public Date getInvalidTime() 
    {
        return invalidTime;
    }
    public void setUsedTime(Date usedTime) 
    {
        this.usedTime = usedTime;
    }

    public Date getUsedTime() 
    {
        return usedTime;
    }
    public void setUsedAmount(String usedAmount) 
    {
        this.usedAmount = usedAmount;
    }

    public String getUsedAmount() 
    {
        return usedAmount;
    }
    public void setDeparture(String departure) 
    {
        this.departure = departure;
    }

    public String getDeparture() 
    {
        return departure;
    }
    public void setArrival(String arrival) 
    {
        this.arrival = arrival;
    }

    public String getArrival() 
    {
        return arrival;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("couponUsedId", getCouponUsedId())
            .append("customerPhone", getCustomerPhone())
            .append("validTime", getValidTime())
            .append("invalidTime", getInvalidTime())
            .append("usedTime", getUsedTime())
            .append("usedAmount", getUsedAmount())
            .append("departure", getDeparture())
            .append("arrival", getArrival())
            .append("createTime", getCreateTime())
            .toString();
    }
}
